package net.superdvach.core;

import net.superdvach.content.*;

public final class AppDefaults {
	
	public final static String ContentDigestMethod = "SHA-256";
	public final static String ConfigName = "s2ch.conf";
	
	public static ContentStorage createDefaultContentStorage() {
		Config config = new Config(ConfigName);
		try {
			return new JDBCStorage(config);
		}
		catch(ClassNotFoundException e) {
			return null;
		}
	}
}
